package parsing.productions;

import world.Critter;

/**
 * An interface representing an executable command in a critter program.
 */
public interface ExecutableNode extends Node {

	/**
	 * Executes the updates and/or actions in this node based on
	 * its conditions (if it has any)
	 * @param c The Critter to be executed on
	 * @return true if a change was made to c
	 */
	public boolean execute(Critter c);
}